package com.xyh.transaction.service;

import com.github.pagehelper.PageInfo;
import com.xyh.transaction.entity.dto.menu.MenuEditOrAddDto;
import com.xyh.transaction.entity.dto.menu.MenuSearchDto;
import com.xyh.transaction.entity.dto.user.ArrDto;
import com.xyh.transaction.entity.vo.MenuOptionsVO;

import java.util.List;
import java.util.Set;

public interface MenuService {


    Set<MenuOptionsVO> getAuthMenuList();

    PageInfo<MenuOptionsVO> getMenuList(MenuSearchDto menuSearchDto);

    void updateMenu(MenuEditOrAddDto menuEditOrAddDto);

    void addMenu(MenuEditOrAddDto menuEditOrAddDto);

    List<MenuOptionsVO> getAllMenu();

    void deleteMenu(ArrDto arrDto);
}
